package com.szc.demo01.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.szc.demo01.dao.BookMapper;
import com.szc.demo01.pojo.TBook;
import com.szc.demo01.service.BookService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class BookServiceImpl extends ServiceImpl<BookMapper,TBook> implements BookService{

    @Resource
    BookMapper bookMapper;
    
    @Override
    public List<TBook> getAll() {
        return bookMapper.getAll();
    }
}
